Skip to content

feat: theming, layouts, dialog confirmation.#5

Merged
knightedcodemonkey merged 6 commits intomainfrom
bananas
Mar 16, 2026
Merged

feat: theming, layouts, dialog confirmation.#5
knightedcodemonkey merged 6 commits intomainfrom
bananas

Conversation

@knightedcodemonkey
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 16, 2026 15:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds theming, layout controls, and a modal confirmation flow to the in-browser playground UI, while also introducing Husky/lint-staged hooks to standardize formatting/linting before commits/pushes.

Changes:

  • Introduces semantic CSS variables + light theme support and updates UI styles to use theme tokens.
  • Adds app grid layout toggles (stacked / preview-left / preview-right) and persists layout/theme to localStorage.
  • Adds a clear-source confirmation dialog (with window.confirm fallback) and wires it into the “Clear” actions.

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/styles.css Adds theme tokens (dark + light), layout toggle styling, and confirm dialog styling.
src/index.html Adds layout/theme toggle buttons and the clear confirmation <dialog>.
src/editor-codemirror.js Switches CodeMirror theme colors to CSS variables for theming support.
src/app.js Implements layout/theme persistence and clear confirmation dialog behavior.
package.json Adds Husky + lint-staged and configures staged formatting/linting.
package-lock.json Locks new Husky/lint-staged dependency tree.
docs/next-steps.md Updates next-steps list to reflect completed work.
docs/article.md Adds a long-form article describing the project’s concept and stack.
README.md Updates the project tagline to the new “Compiler-as-a-Service” framing.
.prettierignore Excludes node_modules and dist from Prettier runs.
.husky/pre-push Adds pre-push hook to run lint + build:esm.
.husky/pre-commit Adds pre-commit hook to run lint-staged.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@knightedcodemonkey knightedcodemonkey merged commit b7152c6 into main Mar 16, 2026
1 check passed
@knightedcodemonkey knightedcodemonkey deleted the bananas branch March 16, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants